<%@ page  contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="page" uri="http://www.forten.org/taglib/page"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="forten" uri="http://www.forten.org/taglib/forten"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>已退课程</title>
<!-- CSS -->
<link type="text/css" rel="stylesheet" href="../styles/css/reset.css">
<link type="text/css" rel="stylesheet" href="../styles/css/index.css">
<script type="text/javascript" src="../scripts/html5.js"></script>
<!-- end -->
<!-- jquery -->
<script type="text/javascript" src="../scripts/jquery-1.6.min.js"></script>
<!-- 日期控件 -->
<script type="text/javascript" src="../scripts/Calendar/Js/calendar.js"></script>
<link type="text/css" rel="stylesheet"
	href="../scripts/Calendar/Css/calendar.css" />
<!-- end -->
</head>
<body>
<script type="text/javascript">
function doQuery(){
	
	var start = $('#start');
	var end = $('#end');
	if(start.val() == '' && end.val() !=''){
		alert('请选择您要查询上课时间的起始时间！');
	}
	
	document.frm1.action="showCourseCanceledByAdminList.jspx";
	document.frm1.submit();
}

</script>

	<header>
	<div class="headerWrap"></div>
	</header>

	<div class="content">

		<section>
		<div class="rc_fbt">
			<form:form id="frm1" name="frm1" modelAttribute="courseSelectionQo"
				action="showCourseCanceledByAdminList.jspx">
				<span class="left">
					<span class="ml15 mr5 left">上课时间从</span>
					<form:input path="start" class="s_txt left mt13" 
					onclick="displayCalendar(this, 'yyyymmdd', this, false, '');"
										size="8" maxlength="8" readonly="true"/>
					<span class="ml15 mr5 left">至</span>
					<form:input path="end" class="s_txt left mt13" 
					onclick="displayCalendar(this, 'yyyymmdd', this, false, '');"
										size="8" maxlength="8" readonly="true"/>
					<span class="mlr15 left">课程名</span>
					<form:input path="courseName" class="s_txt ml5 left mt13" />
					<span class="ml15 mr5 left">工作证号</span>
					<form:input path="cardNum" class="s_txt left mt13" />
					<span class="mlr15 left">干部姓名</span>
					<form:input path="cadreName" class="s_txt ml5 left mt13" />
					<%-- <span class="mlr15 left">课程号</span>
					<form:input path="courseNum" class="s_txt ml5 left mt13" /> --%>
					<a class="btn_search ml10 left mt10" href="#" onclick="doQuery();"></a>
				</span>
			</form:form>
		</div>
		<div class="rc_info mt20">
			<h3>
				<span class="r_title_ico"></span> 退课信息
			</h3>
		</div>
		<table class="rc_tab01" cellspacing="0" cellpadding="0"
			 >
			<tbody>
				<tr>
					<th style="text-align: center;">课程号</th>
					<th style="text-align: center;">课程名</th>
					<th style="text-align: center;">干部工作证号</th>
					<th style="text-align: center;">干部姓名</th>
					<th style="text-align: center;">性别</th>
					<th style="text-align: center;">院系部处</th>
					<th style="text-align: center;">退课时间</th>
					<th style="text-align: center;">退课操作人</th>
				</tr>
				<c:forEach items="${dto}" var="dto" varStatus="s">
					<tr>
						<td style="text-align: center;">${dto.courseDto.num }</td>
						<td style="text-align: center;">${dto.courseDto.name }</td>
						<td style="text-align: center;">${dto.cadreDto.cardNum }</td>
						<td style="text-align: center;">${dto.cadreDto.name }</td>
						<td style="text-align: center;">${dto.cadreDto.sex }</td>
						<td style="text-align: center;">${dto.cadreDto.unitName }</td>
						<td style="text-align: center;"><fmt:formatDate
								value="${dto.cancelTime }" pattern="yyyy年MM月dd日HH时mm分" /></td>
						<td style="text-align: center;">${dto.cancelCardId }</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<page:page hrefStr="showCourseCanceledByAdminList.jspx" name="page"></page:page> </section>
	</div>

<%@include file="/common/foot.jsp"%>